//
//  BSSocketReceiver.m
//  BSProject
//
//  Created by nsm on 2019/8/2.
//  Copyright © 2019 beisheng. All rights reserved.
//

#import "BSSocketReceiver.h"

NSString * const kDidReceiveWebSocketDataNotification = @"App-DidReceiveWebSocketData";

@implementation BSSocketReceiver

- (void)didRecvData:(id)data {
    // 转发数据
    [_noteCenter postNotificationOnMainThreadWithName:kDidReceiveWebSocketDataNotification
                                               object:data
                                             userInfo:nil];
}

- (void)dispatchData:(NSDictionary *)data {
    
}

@end
